Optimal. Leaf size=102 \[ -\frac {4 e^2 F\left (\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{3 a d \sqrt {e \sin (c+d x)}}+\frac {2 e \sqrt {e \sin (c+d x)}}{a d}-\frac {2 e \cos (c+d x) \sqrt {e \sin (c+d x)}}{3 a d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.15, antiderivative size = 102, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 7, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.280, Rules used = {3957, 2918,
2644, 30, 2649, 2721, 2720} \begin {gather*} -\frac {4 e^2 \sqrt {\sin (c+d x)} F\left (\left .\frac {1}{2} \left (c+d x-\frac {\pi }{2}\right )\right |2\right )}{3 a d \sqrt {e \sin (c+d x)}}+\frac {2 e \sqrt {e \sin (c+d x)}}{a d}-\frac {2 e \cos (c+d x) \sqrt {e \sin (c+d x)}}{3 a d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 2644
Rule 2649
Rule 2720
Rule 2721
Rule 2918
Rule 3957
Rubi steps
\begin {align*} \int \frac {(e \sin (c+d x))^{3/2}}{a+a \sec (c+d x)} \, dx &=-\int \frac {\cos (c+d x) (e \sin (c+d x))^{3/2}}{-a-a \cos (c+d x)} \, dx\\ &=\frac {e^2 \int \frac {\cos (c+d x)}{\sqrt {e \sin (c+d x)}} \, dx}{a}-\frac {e^2 \int \frac {\cos ^2(c+d x)}{\sqrt {e \sin (c+d x)}} \, dx}{a}\\ &=-\frac {2 e \cos (c+d x) \sqrt {e \sin (c+d x)}}{3 a d}+\frac {e \text {Subst}\left (\int \frac {1}{\sqrt {x}} \, dx,x,e \sin (c+d x)\right )}{a d}-\frac {\left (2 e^2\right ) \int \frac {1}{\sqrt {e \sin (c+d x)}} \, dx}{3 a}\\ &=\frac {2 e \sqrt {e \sin (c+d x)}}{a d}-\frac {2 e \cos (c+d x) \sqrt {e \sin (c+d x)}}{3 a d}-\frac {\left (2 e^2 \sqrt {\sin (c+d x)}\right ) \int \frac {1}{\sqrt {\sin (c+d x)}} \, dx}{3 a \sqrt {e \sin (c+d x)}}\\ &=-\frac {4 e^2 F\left (\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{3 a d \sqrt {e \sin (c+d x)}}+\frac {2 e \sqrt {e \sin (c+d x)}}{a d}-\frac {2 e \cos (c+d x) \sqrt {e \sin (c+d x)}}{3 a d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 13.52, size = 69, normalized size = 0.68 \begin {gather*} -\frac {2 \left (-2 F\left (\left .\frac {1}{4} (-2 c+\pi -2 d x)\right |2\right )+(-3+\cos (c+d x)) \sqrt {\sin (c+d x)}\right ) (e \sin (c+d x))^{3/2}}{3 a d \sin ^{\frac {3}{2}}(c+d x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.18, size = 112, normalized size = 1.10
method | result | size |
default | \(\frac {2 e^{2} \left (\sqrt {-\sin \left (d x +c \right )+1}\, \sqrt {2 \sin \left (d x +c \right )+2}\, \left (\sqrt {\sin }\left (d x +c \right )\right ) \EllipticF \left (\sqrt {-\sin \left (d x +c \right )+1}, \frac {\sqrt {2}}{2}\right )-\left (\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right )+3 \cos \left (d x +c \right ) \sin \left (d x +c \right )\right )}{3 a \cos \left (d x +c \right ) \sqrt {e \sin \left (d x +c \right )}\, d}\) | \(112\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.82, size = 86, normalized size = 0.84 \begin {gather*} -\frac {2 \, {\left (\sqrt {2} \sqrt {-i} e^{\frac {3}{2}} {\rm weierstrassPInverse}\left (4, 0, \cos \left (d x + c\right ) + i \, \sin \left (d x + c\right )\right ) + \sqrt {2} \sqrt {i} e^{\frac {3}{2}} {\rm weierstrassPInverse}\left (4, 0, \cos \left (d x + c\right ) - i \, \sin \left (d x + c\right )\right ) + {\left (\cos \left (d x + c\right ) e^{\frac {3}{2}} - 3 \, e^{\frac {3}{2}}\right )} \sqrt {\sin \left (d x + c\right )}\right )}}{3 \, a d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {\int \frac {\left (e \sin {\left (c + d x \right )}\right )^{\frac {3}{2}}}{\sec {\left (c + d x \right )} + 1}\, dx}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\cos \left (c+d\,x\right )\,{\left (e\,\sin \left (c+d\,x\right )\right )}^{3/2}}{a\,\left (\cos \left (c+d\,x\right )+1\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________